package com.warmheart.entity.operation;


import com.warmheart.base.entity.BaseEntity;
import com.warmheart.builder.operation.OperationLogCoBuilder;
import com.warmheart.builder.operation.OperationLogRsBuilder;

/**
 * 
 * @ClassName: OperationLog
 * @Description: 操作记录实体类，对应表名称为tb_operation_log
 *               温馨提示：不要修改该实体类的任何字段
 * @author ZhangJianyang
 * @date 2025年06月20日 下午14:00:55
 *
 */
public class OperationLog extends BaseEntity<OperationLogCoBuilder, OperationLogRsBuilder> {

	private static final long serialVersionUID = 1L;
	
	/**
     * 
     * @Title: tableName
     * @Description: 表名称
     * @author ZhangJianyang
     * @return
     */
    @Override
    public String tableName() {
        return "tb_operation_log";
    }

    public OperationLogCoBuilder coBuilder() {
        return new OperationLogCoBuilder(this);
    }

    public OperationLogRsBuilder rsBuilder() {
        return new OperationLogRsBuilder(this);
    }

    /**
     * 用户id
     */
    private Integer userId;

    /**
     * 用户名
     */
    private String name;

    /**
     * ip地址
     */
    private String ipAddress;

    /**
     * 操作描述
     */
    private String operationDesc;

    /**
     * 请求url
     */
    private String requestUri;

    /**
     * 请求方法名
     */
    private String requestMethod;

    /**
     * 入参
     */
    private String paramInput;

    /**
     * 出参
     */
    private String paramOutput;

    /**
     * 操作状态（01成功02失败）
     */
    private String status;

    /**
     * 
     * @Title: getUserId
     * @Description: 用户idgetter方法
     * @author ZhangJianyang
     * @return
     */
    public Integer getUserId(){
        return userId;
    }
    
    /**
     * 
     * @Title: setUserId
     * @Description: 用户idsetter方法
     * @author ZhangJianyang
     * @param userId
     */
    public void setUserId(Integer userId){
        this.userId = userId;
    }

    /**
     * 
     * @Title: getName
     * @Description: 用户名getter方法
     * @author ZhangJianyang
     * @return
     */
    public String getName(){
        return name;
    }
    
    /**
     * 
     * @Title: setName
     * @Description: 用户名setter方法
     * @author ZhangJianyang
     * @param name
     */
    public void setName(String name){
        this.name = name;
    }

    /**
     * 
     * @Title: getIpAddress
     * @Description: ip地址getter方法
     * @author ZhangJianyang
     * @return
     */
    public String getIpAddress(){
        return ipAddress;
    }
    
    /**
     * 
     * @Title: setIpAddress
     * @Description: ip地址setter方法
     * @author ZhangJianyang
     * @param ipAddress
     */
    public void setIpAddress(String ipAddress){
        this.ipAddress = ipAddress;
    }

    /**
     * 
     * @Title: getOperationDesc
     * @Description: 操作描述getter方法
     * @author ZhangJianyang
     * @return
     */
    public String getOperationDesc(){
        return operationDesc;
    }
    
    /**
     * 
     * @Title: setOperationDesc
     * @Description: 操作描述setter方法
     * @author ZhangJianyang
     * @param operationDesc
     */
    public void setOperationDesc(String operationDesc){
        this.operationDesc = operationDesc;
    }

    /**
     * 
     * @Title: getRequestUri
     * @Description: 请求urlgetter方法
     * @author ZhangJianyang
     * @return
     */
    public String getRequestUri(){
        return requestUri;
    }
    
    /**
     * 
     * @Title: setRequestUri
     * @Description: 请求urlsetter方法
     * @author ZhangJianyang
     * @param requestUri
     */
    public void setRequestUri(String requestUri){
        this.requestUri = requestUri;
    }

    /**
     * 
     * @Title: getRequestMethod
     * @Description: 请求方法名getter方法
     * @author ZhangJianyang
     * @return
     */
    public String getRequestMethod(){
        return requestMethod;
    }
    
    /**
     * 
     * @Title: setRequestMethod
     * @Description: 请求方法名setter方法
     * @author ZhangJianyang
     * @param requestMethod
     */
    public void setRequestMethod(String requestMethod){
        this.requestMethod = requestMethod;
    }

    /**
     * 
     * @Title: getParamInput
     * @Description: 入参getter方法
     * @author ZhangJianyang
     * @return
     */
    public String getParamInput(){
        return paramInput;
    }
    
    /**
     * 
     * @Title: setParamInput
     * @Description: 入参setter方法
     * @author ZhangJianyang
     * @param paramInput
     */
    public void setParamInput(String paramInput){
        this.paramInput = paramInput;
    }

    /**
     * 
     * @Title: getParamOutput
     * @Description: 出参getter方法
     * @author ZhangJianyang
     * @return
     */
    public String getParamOutput(){
        return paramOutput;
    }
    
    /**
     * 
     * @Title: setParamOutput
     * @Description: 出参setter方法
     * @author ZhangJianyang
     * @param paramOutput
     */
    public void setParamOutput(String paramOutput){
        this.paramOutput = paramOutput;
    }

    /**
     * 
     * @Title: getStatus
     * @Description: 操作状态（01成功02失败）getter方法
     * @author ZhangJianyang
     * @return
     */
    public String getStatus(){
        return status;
    }
    
    /**
     * 
     * @Title: setStatus
     * @Description: 操作状态（01成功02失败）setter方法
     * @author ZhangJianyang
     * @param status
     */
    public void setStatus(String status){
        this.status = status;
    }
}
